package com.example.p381many2many.repository;

import com.example.p381many2many.ibp.DescriptionOnly;
import com.example.p381many2many.model.Course;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CourseRepository extends CrudRepository<Course, Long> {

    // Methods to be added

    Iterable<DescriptionOnly> getCourseByName(String name);
}
